package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 角色管理对象 yl_role_control
 * 
 * @author ruoyi
 * @date 2022-02-18
 */
public class YlRoleControl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 角色id */
    private Long roleId;

    /** 角色名称 */
    @Excel(name = "角色名称")
    private String roleName;

    /** 角色下管理员人数 */
    @Excel(name = "角色下管理员人数")
    private Long controlPeople;

    /** 角色描述 */
    @Excel(name = "角色描述")
    private String roleDescribe;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public void setRoleId(Long roleId) 
    {
        this.roleId = roleId;
    }

    public Long getRoleId() 
    {
        return roleId;
    }
    public void setRoleName(String roleName) 
    {
        this.roleName = roleName;
    }

    public String getRoleName() 
    {
        return roleName;
    }
    public void setControlPeople(Long controlPeople) 
    {
        this.controlPeople = controlPeople;
    }

    public Long getControlPeople() 
    {
        return controlPeople;
    }
    public void setRoleDescribe(String roleDescribe) 
    {
        this.roleDescribe = roleDescribe;
    }

    public String getRoleDescribe() 
    {
        return roleDescribe;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roleId", getRoleId())
            .append("roleName", getRoleName())
            .append("controlPeople", getControlPeople())
            .append("roleDescribe", getRoleDescribe())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
